package com.koko.mapper;

import com.koko.game.entity.GameCategory;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface GameCategoryMapper {
    /**
     * 根据游戏分类id删除关系数据
     * @param categoryId
     */
    void deleteByCategoryId(Long categoryId);

    void insert(GameCategory gameCategory);

    void deleteByGameId(Long gameId);
}
